-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unpacker: add broadcom SAO image support #161
Conversation
77097ff
to
03ce96f
Compare
I'll make the required changes in https://github.com/fkie-cad/fact_helper_file too, just didn't want to be redundant since it seems it'll be deprecated "soon". |
fkie-cad/fact_helper_file#36 added the changes to fact_helper_file as well. Ready for review without depending on @maringuu's changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! Unpacking works fine with the test file you provided. I don't have any "real world" samples to test it with, though.
We recently switched to ruff as a linter and it seems to be unhappy about some parts: https://github.com/fkie-cad/fact_extractor/actions/runs/11507282602/job/32205501505?pr=161
Many of the issues can be automatically fixed with ruff check --fix [files...]
fact_extractor/plugins/unpacking/broadcom/test/test_plugin_broadcom_sao.py
Outdated
Show resolved
Hide resolved
fact_extractor/plugins/unpacking/broadcom/test/test_plugin_broadcom_sao.py
Outdated
Show resolved
Hide resolved
fact_extractor/plugins/unpacking/broadcom/test/test_plugin_broadcom_sao.py
Outdated
Show resolved
Hide resolved
c5c6735
to
a5afad0
Compare
I've addressed these! I wasn't sure how to run the linter manually. Glad these things were caught. |
It seems there are still some left (see https://github.com/fkie-cad/fact_extractor/actions/runs/11574200382/job/32228898616?pr=161) |
a5afad0
to
007559f
Compare
Resolved the pathlib issue... |
Co-authored-by: Jörg Stucke <[email protected]>
007559f
to
7ecab44
Compare
Okay, these should all be fixed, and I verified that the changes still work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you again for your contribution!
Add support for unpacking Broadcom SAO images, commonly found in DOCSIS cable modems.
NOTE: this requires a plaintext (e.g. not encrypted) file!
Depends: